Crate re_renderer

Source
Expand description

Rerun’s renderer.

A wgpu based renderer wgpu for all your visualization needs. Used in re_runner to display the contents of any view contents other than pure UI.

§Feature flags

  • arrow — Support for Arrow datatypes for end-to-end zero-copy.
  • import-obj (enabled by default) — Support importing .obj files
  • import-gltf (enabled by default) — Support importing .gltf and .glb files
  • import-stl (enabled by default) — Support importing binary & ascii .stl files
  • serde — Enable (de)serialization using serde.

Re-exports§

Modules§

Macros§

  • A macro to read the contents of a file on disk, and resolve #import clauses as required.
  • Create a shader module using the include_file! macro and set the path name as debug string.

Structs§

Enums§

Traits§

  • A very limited filesystem, just enough for our internal needs.

Functions§

  • A human-readable summary about an adapter
  • Returns a gamma-space sRGB in 0-255 range. This is a perceptually uniform colormap which is robust to color blindness. It is especially suited for visualizing signed values. It interpolates from cyan to blue to dark gray to brass to yellow.
  • Returns sRGB polynomial approximation from Inferno color map, assuming t is normalized.
  • Returns sRGB polynomial approximation from Magma color map, assuming t is normalized.
  • Returns sRGB polynomial approximation from Plasma color map, assuming t is normalized.
  • Returns sRGB polynomial approximation from Turbo color map, assuming t is normalized.
  • Returns sRGB polynomial approximation from Viridis color map, assuming t is normalized.
  • Returns the recommended filesystem handle for the current platform.
  • Returns an sRGB gray value, assuming t is normalized.
  • Returns the recommended FileResolver for the current platform/target.
  • Pad RGB to RGBA with the given alpha.

Type Aliases§